package com.woniuxy.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.woniuxy.entity.User;

@Mapper
public interface UserMapper {
	List<User> getAll();

	User findByName(String uname);

	User findUserAndRolesByName(String uname);
}
